﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class1
{
    //飞机
    class Plane : Vehicle, IFlyable
    {
        public void Fly()
        {
            Console.WriteLine("欢迎各位乘客乘坐四川8303航班！");
        }

        public void Land()
        {
            Console.WriteLine("本航班于两小时后抵达西藏！");
        }

        public void TakeOff()
        {
            Console.WriteLine("各位乘客请注意，本航班即将起飞，请各位乘客将手机关机！");
        }
    }
}
